//
//  BedCell.h
//  Nurse
//
//  Created by Sunny on 13-12-13.
//  Copyright (c) 2013年 RainSets. All rights reserved.
//

#import <UIKit/UIKit.h>


//typedef void (^ResultBlock)(float result);

/**
 *  选择cell 的哪个床位
 *
 *  @param indexPath cell 对应的table 中的index
 *  @param column    cell 选中的哪列
 *
 *  @return nil
 */
typedef void (^BedSeleted)(NSIndexPath *indexPath,int column);//column 从 0 开始

@class BedSmallCell;

@interface BedCell : UITableViewCell{
    BedSeleted _bedSeletedBlock;
}

@property(nonatomic,strong)NSIndexPath *indexPath;

@property(nonatomic,strong)BedSmallCell *btn1;
@property(nonatomic,strong)BedSmallCell *btn2;
@property(nonatomic,strong)BedSmallCell *btn3;

//@property(nonatomic,strong)BedSeleted bedSeleted;

-(void)setBedSeleted:(BedSeleted )bedSelected;



/**
 *  设计第几列不能点 且样式改变
 *
 *  @param columIndex 第几列  0,1,2
 */
-(void)setDisableColum:(int )columIndex;
-(void)setEnableColum:(int )columIndex;

@end
